-
Home
-
Jetpack Protect
-
1.0.0
-
Code
-
Classes
- Plugins_Installer
Total Complexity |
34 |
Dependencies |
4 |
Dependents |
3 |
Total lines |
219 |
Lines of code |
115 |
Logical lines of code |
71 |
Comment lines |
75 |
Methods |
10 |
Properties |
0 |
Methods 10
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
install_plugin() |
A |
47 |
9 |
33 |
install_and_activate_plugin() |
S |
55 |
6 |
20 |
get_plugin_id_by_slug() |
S |
58 |
5 |
15 |
get_plugins() |
S |
58 |
4 |
15 |
get_plugin_status() |
S |
66 |
3 |
9 |
ensure_plugin_functions_are_loaded() |
S |
73 |
2 |
5 |
get_slug_from_file_path() |
S |
68 |
2 |
7 |
generate_wordpress_org_plugin_download_link() |
S |
79 |
1 |
3 |
is_plugin_active() |
S |
76 |
1 |
4 |
is_plugin_active_for_network() |
S |
76 |
1 |
4 |